package com.softa.common.dao;

import com.softa.common.entity.SysRole;
import com.softa.common.sysconfig.mybatis.mapper.BootBaseMapper;
import com.softa.common.sysconfig.support.DataTableRequest;
import com.softa.common.sysconfig.support.QueryRequest;

import java.util.List;

/**
 * @author yangl
 * @date 2018/5/23
 */
public interface SysRoleMapper extends BootBaseMapper<SysRole> {
    /**
     * 更具条件查询
     *
     * @param queryRequest
     * @return
     */
    List<SysRole> selectByCondition(QueryRequest queryRequest);

    /**
     * 分页数量
     *
     * @param request
     * @return
     */
    long selectCountByCondition(DataTableRequest request);

    List<SysRole> selectByParam(DataTableRequest request);
}
